package ru.cod.rs.exmpls.main.interfaces.impl.screens;

import ru.cod.rs.exmpls.main.abstractions.Assets;
import ru.cod.rs.exmpls.main.abstractions.Screen;
import ru.cod.rs.exmpls.main.interfaces.Game;
import ru.cod.rs.exmpls.main.interfaces.Graphics;
import ru.cod.rs.exmpls.main.interfaces.Graphics.PixmapFormat;

public class LoadingScreen extends Screen {

	public LoadingScreen(Game game) {

		super(game);
	}

	@Override
	public void update(float deltaTime) {

		Graphics g = game.getGraphics();
		Assets.rectangle = g.newPixmap("kartinka.png", PixmapFormat.ARGB4444);
		// Settings.load(game.getFileIO());
		game.setScreen(new MainMenuScreen(game));
	}

	@Override
	public void present(float deltaTime) {

		// stub

	}

	@Override
	public void pause() {

		// stub

	}

	@Override
	public void resume() {

		// stub

	}

	@Override
	public void dispose() {

		// stub

	}

}
